// www.javascriptcn.com code example
const markdownTable = require('markdown-table');

const table = [
    ['Name', 'Age', 'Gender'],
    ['Bob', '26', 'Male'],
    ['Alice', '22', 'Female'],
];

console.log(markdownTable(table));
